<?php
/**
 * Created by PhpStorm.
 * User: dengyun
 * Date: 2017/8/3
 * Time: 23:34
 */

namespace app\api\controller\v1;

use app\api\validate\IDMustBePostiveInt;

class Banner
{
    /**
     * 获取指定ID的Banner信息
     * @url /banner/:id
     * @hppt GET
     * @id Banner 的ID号
     */

    public function getBanner($id)
    {
        (new IDMustBePostiveInt())->goCheck();
        

    }

}